package dblayer;

import java.util.ArrayList;

import modellayer.Supplier;

public interface IFDBSupplier {

	public ArrayList<Supplier> getAllSuppliers();
	
	public Supplier searchByID(int id);
	public Supplier searchByName(String name);
	public Supplier searchByAddress(String address);
	public Supplier searchByZipCode(int zipCode);
	public Supplier searchByPhone(int phone);
	public Supplier searchByCVR(int cvrNO);
	
	public int insertSupplier(Supplier supplier) throws Exception;
	public int updateSupplier(Supplier supplier);
	public int deleteSupplier(int id);
}
